package com.springboot.ball.controller.user.account;

import com.springboot.ball.service.user.account.GetInfoService;
import com.springboot.ball.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class GetInfoController {
    @Autowired
    private GetInfoService getInfoService;
    @GetMapping("/api/user/account/getInfo/")
    public Result getInfo() {
        return getInfoService.getInfo();
    }
}
